package com.qidian.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (QdClass)实体类
 *
 * @author 戴着假发的程序员
 * @since 2022-03-01 08:47:07
 */
public class QdClass implements Serializable {
    private static final long serialVersionUID = -27755720351482208L;
    /**
    * 班级编号
    */
    private Long classId;
    /**
    * 班级名称
    */
    private String className;
    /**
    * 班级教学方向
    */
    private Integer direction;
    /**
    * 班级顾问编号
    */
    private Integer classAdviser;
    /**
    * 就业顾问编号
    */
    private Integer employmentAdviser;
    /**
    * 教员编号
    */
    private Integer teacherId;
    /**
    * 开班日期
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    /**
    * 结班日期
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    /**
    * 添加时间
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
    * 最后修改时间
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;
    /**
    * 班级状态
    */
    private Integer classStatus;

        
    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }
        
    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
        
    public Integer getDirection() {
        return direction;
    }

    public void setDirection(Integer direction) {
        this.direction = direction;
    }
        
    public Integer getClassAdviser() {
        return classAdviser;
    }

    public void setClassAdviser(Integer classAdviser) {
        this.classAdviser = classAdviser;
    }
        
    public Integer getEmploymentAdviser() {
        return employmentAdviser;
    }

    public void setEmploymentAdviser(Integer employmentAdviser) {
        this.employmentAdviser = employmentAdviser;
    }
        
    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }
        
    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
        
    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
        
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
        
    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
        
    public Integer getClassStatus() {
        return classStatus;
    }

    public void setClassStatus(Integer classStatus) {
        this.classStatus = classStatus;
    }

    @Override
    public String toString(){
        return "QdClass {" +
            "classId : " + classId + ", " +
            "className : " + className + ", " +
            "direction : " + direction + ", " +
            "classAdviser : " + classAdviser + ", " +
            "employmentAdviser : " + employmentAdviser + ", " +
            "teacherId : " + teacherId + ", " +
            "startTime : " + startTime + ", " +
            "endTime : " + endTime + ", " +
            "createTime : " + createTime + ", " +
            "modifyTime : " + modifyTime + ", " +
            "classStatus : " + classStatus + ", " +
        '}';
    }
}